Skip to content

fix PermissionsViewer 'View Role Members'#4202

Open
meowpurrpur wants to merge 4 commits into
Vendicated:mainfrom
meowpurrpur:main
Open

fix PermissionsViewer 'View Role Members'#4202
meowpurrpur wants to merge 4 commits into
Vendicated:mainfrom
meowpurrpur:main

Conversation

@meowpurrpur
Copy link
Copy Markdown

Closes #4192

Add BetterRoleContext as a dependency for PermissionsViewer.

The “View Role Members” button added by PermissionsViewer relies on the RoleMemberPopout hook implemented by BetterRoleContext. Without the plugin enabled, the popout renders without any members.

This makes BetterRoleContext a required dependency for the feature to function correctly.

@Vendicated
Copy link
Copy Markdown
Owner

I kind of overlooked the fact that BetterRoleContext needs its patch to function...

This is indeed a fix but I'm not sure if I like making BetterRoleContext a dependency of PermissionViewer

@meowpurrpur
Copy link
Copy Markdown
Author

Ah alright, i'll look at fixing it another way

@meowpurrpur
Copy link
Copy Markdown
Author

@Vendicated would the updated fix I made be better than adding it as a dependency? i don't have much experience with plugins and stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [PermissionsViewer] 'View Role Members' Does Nothing

2 participants